

if modifier_points == nil then modifier_points = class({}) end

function modifier_points:GetBehavior()
    return DOTA_ABILITY_BEHAVIOR_PASSIVE
end

function modifier_points:IsPurgable()
    return false
end

function modifier_points:IsHidden()
    return true
end

function modifier_points:DeclareFunctions()
    return {MODIFIER_PROPERTY_STATS_STRENGTH_BONUS,
            MODIFIER_PROPERTY_STATS_AGILITY_BONUS,
            MODIFIER_PROPERTY_STATS_INTELLECT_BONUS}
end

function modifier_points:GetModifierBonusStats_Strength()
    local points= CustomNetTables:GetTableValue(NetTableNames.modifier_points, tostring(self:GetParent():GetPlayerID()))
    if points==nil then
        return 0
    end
    return tonumber(points.points)
end

function modifier_points:GetModifierBonusStats_Agility()
    local points= CustomNetTables:GetTableValue(NetTableNames.modifier_points, tostring(self:GetParent():GetPlayerID()))
    if points==nil then
        return 0
    end
    return tonumber(points.points)
end

function modifier_points:GetModifierBonusStats_Intellect()
    local points= CustomNetTables:GetTableValue(NetTableNames.modifier_points, tostring(self:GetParent():GetPlayerID()))
    if points==nil then
        return 0
    end
    return tonumber(points.points)
end